package com.unittec.drainage.provider.excel.export;

import lombok.Data;

import java.util.Map;

/**
 * @author wuxinwei
 * @version V1.0
 * @ClassName ExportExcelColumn
 * @Description TODO
 * @date 2020/12/14 18:15
 **/
@Data
public class ExportExcelColumn {

    private String fieldName;
    private String fieldNameValue;

    private boolean isConversion;
    private Map<String, String> conversionMap;

    public ExportExcelColumn(String fieldName, String fieldNameValue) {
        this.fieldName = fieldName;
        this.fieldNameValue = fieldNameValue;
    }

    public ExportExcelColumn(String fieldName, String fieldNameValue, boolean isConversion, Map<String, String> conversionMap) {
        this.fieldName = fieldName;
        this.fieldNameValue = fieldNameValue;
        this.isConversion = isConversion;
        this.conversionMap = conversionMap;
    }

}
